$OpenBSD: patch-lib_document_loadingdocumentimpl_cpp,v 1.2 2014/07/10 09:10:13 zhuk Exp $
XXX Disable libkdcraw usage until crashes are resolved.
--- lib/document/loadingdocumentimpl.cpp.orig	Mon May  5 09:21:49 2014
+++ lib/document/loadingdocumentimpl.cpp	Thu Jul 10 10:55:39 2014
@@ -190,7 +190,12 @@ struct LoadingDocumentImplPrivate
         buffer.setBuffer(&mData);
         buffer.open(QIODevice::ReadOnly);
 
+#if OPENBSD_LIBKDCRAW_NO_CRASH
         if (KDcrawIface::KDcraw::rawFilesList().contains(QString(mFormatHint))) {
+#else
+        if (false) {
+#endif
+        // if (KDcrawIface::KDcraw::rawFilesList().contains(QString(mFormatHint))) {
             QByteArray previewData;
 
             // if the image is in format supported by dcraw, fetch its embedded preview
